home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / vbasic / subvbx.exe / SUBVBDOC.CPP < prev    next >
C/C++ Source or Header  |  1993-04-29  |  2KB  |  81 lines

  1. // subvbdoc.cpp : implementation of the CSubvbxDoc class
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "subvbx.h"
  6.  
  7. #include "subvbdoc.h"
  8.  
  9. #ifdef _DEBUG
  10. #undef THIS_FILE
  11. static char BASED_CODE THIS_FILE[] = __FILE__;
  12. #endif
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CSubvbxDoc
  16.  
  17. IMPLEMENT_DYNCREATE(CSubvbxDoc, CDocument)
  18.  
  19. BEGIN_MESSAGE_MAP(CSubvbxDoc, CDocument)
  20.     //{{AFX_MSG_MAP(CSubvbxDoc)
  21.         // NOTE - the ClassWizard will add and remove mapping macros here.
  22.         //    DO NOT EDIT what you see in these blocks of generated code !
  23.     //}}AFX_MSG_MAP
  24. END_MESSAGE_MAP()
  25.  
  26. /////////////////////////////////////////////////////////////////////////////
  27. // CSubvbxDoc construction/destruction
  28.  
  29. CSubvbxDoc::CSubvbxDoc()
  30. {
  31.     // TODO: add one-time construction code here
  32. }
  33.  
  34. CSubvbxDoc::~CSubvbxDoc()
  35. {
  36. }
  37.  
  38. BOOL CSubvbxDoc::OnNewDocument()
  39. {
  40.     if (!CDocument::OnNewDocument())
  41.         return FALSE;
  42.     // TODO: add reinitialization code here
  43.     // (SDI documents will reuse this document)
  44.     return TRUE;
  45. }
  46.  
  47. /////////////////////////////////////////////////////////////////////////////
  48. // CSubvbxDoc serialization
  49.  
  50. void CSubvbxDoc::Serialize(CArchive& ar)
  51. {
  52.     if (ar.IsStoring())
  53.     {
  54.         // TODO: add storing code here
  55.     }
  56.     else
  57.     {
  58.         // TODO: add loading code here
  59.     }
  60. }
  61.  
  62.  
  63. /////////////////////////////////////////////////////////////////////////////
  64. // CSubvbxDoc diagnostics
  65.  
  66. #ifdef _DEBUG
  67. void CSubvbxDoc::AssertValid() const
  68. {
  69.     CDocument::AssertValid();
  70. }
  71.  
  72. void CSubvbxDoc::Dump(CDumpContext& dc) const
  73. {
  74.     CDocument::Dump(dc);
  75. }
  76.  
  77. #endif //_DEBUG
  78.  
  79. /////////////////////////////////////////////////////////////////////////////
  80. // CSubvbxDoc commands
  81.